x86/64 has the wrong number of arguments defined for HYPERVISOR_xenoprof_op.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 May 2006 12:45:10 +0000 (13:45 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 May 2006 12:45:10 +0000 (13:45 +0100)
Signed-off-by: Ray Bryant <raybry@mpdtxmail.amd.com>
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h

index 7364dce57e5d82a11a000d04f02ad477fd7de30b..d2e4da728c347229c95136d45b9e103ae8a80b99 100644 (file)
@@ -355,9 +355,9 @@ HYPERVISOR_callback_op(
 
 static inline int
 HYPERVISOR_xenoprof_op(
-       int op, unsigned long arg1, unsigned long arg2)
+       int op, void *arg)
 {
-       return _hypercall3(int, xenoprof_op, op, arg1, arg2);
+       return _hypercall2(int, xenoprof_op, op, arg);
 }
 
 #endif /* __HYPERCALL_H__ */